package com.http;

import java.io.IOException;
import java.net.ServerSocket;

public class HttpDemo {
	public static void main(String[] args){
		new Thread(new AccepterDemo()).start();
		getClose();
	}

	public static void getClose() {
		try {
			ServerSocket server = new ServerSocket(2011);
			server.accept();
		} catch (IOException e) {
			e.printStackTrace();
		}
		
		
	}
}
